.my-layout-container {
  width: 100vw;
  min-height: 100vh;
}

.my-layout-menu-logo-box {
  display: flex;
  width: 100%;
}

.my-layout-menu-logo {
  width: 60px;
  height: 60px;
  background: 0 0/100% 100% url("/logo-icon.png");
}

.my-layout-menu-title {
  flex: 1;
  line-height: 60px;
  color: rgb(126, 126, 126);
  font-size: 32px;
}

.my-layout-body {
  margin-top: 60px;
  padding: 12px;
  min-height: calc(100vh - 60px - 24px);
}

/* 自定义菜单样式 */
.custom-menu {
  border-right: 0 !important;
  padding: 16px 8px;
}

.custom-menu .ant-menu-item {
  margin: 4px 0;
  border-radius: 6px;
  height: 40px;
  line-height: 40px;
}

.custom-menu .ant-menu-item-selected {
  background-color: #e6f4ff !important;
  color: #1677ff !important;
  border-right: 3px solid #1677ff;
}

.custom-menu .ant-menu-submenu-title {
  margin: 4px 0 !important;
}

.my-layout-header-box {
  display: flex;
  width: 100%;
  height: 100%;
}

.menu-controll-btn {
  padding: 0 12px;
  line-height: 60px;
}

.menu-controll-btn-icon {
  cursor: pointer;
}

.my-layout-header-right {
  flex: 1;
  display: flex;
  justify-content: end;
}

.user-info {
  display: flex;
  align-items: center;
  height: 100%;
}

.user-avatar {
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
}

.user-name {
  height: 60px;
  line-height: 60px;
  margin: 0 10px;
}

.my-layout-header {
  z-index: 999;
  position: fixed;
  top: 0;
  width: calc(100vw - 250px - 10px);
  height: 60px;
  padding-right: 10px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.my-layout-header-collection {
  z-index: 999;
  position: fixed;
  top: 0;
  width: calc(100vw - 10px);
  height: 60px;
  padding-right: 10px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.my-layout-menu {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  overflow: auto;
  background-color: white;
}

.my-layout-menu-collection {
  display: none;
}

.my-layout-right {
  position: absolute;
  width: calc(100vw - 250px - 10px);
  min-height: 100vh;
  margin-left: 250px;
  padding-right: 10px;
  background-color: #f5f6fa;
}

.my-layout-right-collection {
  position: absolute;
  width: calc(100vw - 10px);
  min-height: 100vh;
  padding-right: 10px;
  background-color: #f5f6fa;
}

@media screen and (max-width: 992px) {
  .my-layout-header {
    width: calc(100vw - 200px - 10px);
  }
  .my-layout-menu {
    width: 200px;
  }
  .my-layout-right {
    width: calc(100vw - 200px - 10px);
    margin-left: 200px;
  }
  .my-layout-right-collection {
    width: calc(100vw - 10px);
  }
  .my-layout-menu-title {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  .my-layout-header {
    width: calc(100vw - 10px);
    margin: 0;
  }
  .my-layout-menu {
    width: 200px;
  }
  .my-layout-right {
    width: calc(100vw - 10px);
    margin: 0;
  }
}
